package ArvoresBinarias;

public class Main
{
	public static void main (String[]args)
	{
		final int n = 10;
		int key = 0;
		ArvorePesquisaBinaria bs = new ArvorePesquisaBinaria(n);
		System.out.println(bs);
		key = 12; bs.insert(key);
		key = 5; bs.insert(key);
		key = 18; bs.insert(key);
		key = 9; bs.insert(key);
		key = 15; bs.insert(key);
		key = 19; bs.insert(key);
		key = 13; bs.insert(key);
		key = 17; bs.insert(key);
		
		System.out.println();
		System.out.println("AFTER");
		System.out.println(bs);
	}
	
}
